﻿using System;
using System.Collections.Generic;
using System.Text;

namespace com.creditos.dao.sql
{
    public class Comando
    {
        #region Propiedades
        private string CommandNameField = string.Empty;
        public string CommandName
        {
            get { return CommandNameField; }
            set { CommandNameField = value; }
        }

        private List<Parameter> listParm = new List<Parameter>();
        public List<Parameter> ListaParametro
        {
            get { return listParm; }
            set { listParm = value; }
        }
        #endregion
        public void AddParameter(string Name, Object value)
        {
            ListaParametro.Add(Parameter.createParameter(Name, value));
        }
    }
}
